home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
C/C++ Users Group Library 1996 July
/
C-C++ Users Group Library July 1996.iso
/
listings
/
v_10_03
/
1003072a
< prev
next >
Wrap
Text File
|
1992-01-11
|
115b
|
10 lines
Listing 4
rational::operator+(long n)
{
rational result(*this);
return result += rational(n, 1);
}